public class Test {
    public static void main(String[] args) {
        Car car = new Car(5, "宝马"); //Car的有参构造
        car.setWheels(4); //设置车轮数
        car.setWeight(1); //设置车载重
        car.Print(); //调用Car的输出函数
    }

}
